<!-- box menu -->
<?php $this->renderPartial("application.views.layouts._menu");?>
<!-- End box menu -->
<?php 
$url_short_ed  = "";
if(isset($url_short)) $url_short_ed = $url_short;
$url_goc  = "";
if(isset($url)) $url_goc = $url;

?>

<div class="about">
        <?php $this->widget("BoxLogin");?>
        <h1><a><img src="<?php echo Yii::app()->params['static_url'];?>images/tenweb-icon-link.png" alt="" class="kc_TB_td" /></a><a href="#" class="xanhdam">Tạo Link ngắn gọn</a>
        </h1>
        <form name="linkShortForm" action="<?php echo  Url::createUrl('shortLink/index')?>" method="get"> 
            <div class="TK">
           <?php
            if(!empty($error))
             echo $error;
            ?>
           <strong>Link rút gọn</strong><strong class="do"> </strong><br />
           <input name="url" type="text" value="<?php echo $url_short_ed;?>" maxlength="1024" class="onhap_TK" style="margin:0 0 0px 0px;" />
           <strong>Link gốc:</strong><strong class="do"><?php echo $url_goc;?> </strong>
            <div class="TK_1">
                <input type="submit" name="submit" class="button_APK" value="Tạo link khác"/>
             </div>
        </div>
        </form>
      <!-- box footer -->
           <?php $this->widget("BoxFooter");?>
      <!-- end box footer -->
</div>